package com.zjj.edu.system.domain;

import com.zjj.edu.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 租户应用关系表 sys_tenant_application
 *
 */
public class SysTenantApplication extends BaseEntity {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 租户编号
	 */
	private long tenantId;

	/**
	 * 子应用编码
	 */
	private String appCode;

	@NotBlank(message = "应用不能为空")
	private List<String> appCodes;

	public long getTenantId() {
		return tenantId;
	}

	public void setTenantId(long tenantId) {
		this.tenantId = tenantId;
	}

	public String getAppCode() {
		return appCode;
	}

	public void setAppCode(String appCode) {
		this.appCode = appCode;
	}

	public List<String> getAppCodes() {
		return appCodes;
	}

	public void setAppCodes(List<String> appCodes) {
		this.appCodes = appCodes;
	}
}
